package com.imooc.ecommerce;

import com.imooc.ecommerce.conf.DataSourceProxyAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;

/**
 * 物流微服务启动入口
 * @author zhangshao
 * @since 2023/12/15 23:17
 */
@EnableDiscoveryClient
@Import(DataSourceProxyAutoConfiguration.class)
@MapperScan(basePackages = {"com.imooc.ecommerce.mapper"})
@SpringBootApplication
public class LogisticsApplication {
    public static void main(String[] args) {
        SpringApplication.run(LogisticsApplication.class,args);
    }
}
